package com.eattravel.pojo;

import java.util.Date;
import java.util.List;

public class Comment {
    private Long id;

    // 评论的id
    private String commentId;
    // 商品的id
    private String commodityId;
    // 商品的评论
    private String commodityComment;
    // 用户id
    private String userId;
    // 评论时间
    private Date commentHours;
    // 评论图片集合
    private List<CommentPicture> pictureList;
    private List<CommentCom> commentComList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId == null ? null : commentId.trim();
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId == null ? null : commodityId.trim();
    }

    public String getCommodityComment() {
        return commodityComment;
    }

    public void setCommodityComment(String commodityComment) {
        this.commodityComment = commodityComment == null ? null : commodityComment.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCommentHours() {
        return commentHours;
    }

    public void setCommentHours(Date commentHours) {
        this.commentHours = commentHours;
    }

    public List<CommentPicture> getPictureList() {
        return pictureList;
    }

    public void setPictureList(List<CommentPicture> pictureList) {
        this.pictureList = pictureList;
    }

    public List<CommentCom> getCommentComList() {
        return commentComList;
    }

    public void setCommentComList(List<CommentCom> commentComList) {
        this.commentComList = commentComList;
    }
}